import { Button, NavBar } from 'antd-mobile'
import React from 'react'
import styles from './css.module.css' 
import { useNavigate } from 'react-router-dom'
function index() {
  const nav=useNavigate()
  return (
    <div>
      <NavBar>车票详情</NavBar>
       <div className={styles.kkk} > 
          <div>北京-厦门</div>
          <div>是否高铁:是</div>
           <div>是否有票：否</div>
            <div>
              <div>一等座</div>
              <div>二等座</div>
              <div>商务座</div>
            </div> 
      </div>
      <Button onClick={()=>nav('/order')}>订</Button>
    </div>
  )
}

export default index